package com.p7.notepad.bean;

public class Login {

    /**
     * code : 1000
     * message : 操作成功
     * data : {"id":4,"nickName":"17888888888","avatar":"http://phonecook.oss-cn-shanghai.aliyuncs.com/idol/20180312/998a30b7a71f4b7c84c458999bd71ed9.jpg","mobile":"17888888888","sex":1,"birthday":null,"password":null,"createTime":1558314669000,"updateTime":null,"status":1}
     * success : true
     */

    private int code;
    private String message;
    private DataBean data;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * id : 4
         * nickName : 17888888888
         * avatar : http://phonecook.oss-cn-shanghai.aliyuncs.com/idol/20180312/998a30b7a71f4b7c84c458999bd71ed9.jpg
         * mobile : 17888888888
         * sex : 1
         * birthday : null
         * password : null
         * createTime : 1558314669000
         * updateTime : null
         * status : 1
         */

        private int id;
        private String nickName;
        private String avatar;
        private String mobile;
        private int sex;
        private Object birthday;
        private Object password;
        private long createTime;
        private Object updateTime;
        private int status;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public Object getBirthday() {
            return birthday;
        }

        public void setBirthday(Object birthday) {
            this.birthday = birthday;
        }

        public Object getPassword() {
            return password;
        }

        public void setPassword(Object password) {
            this.password = password;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
